﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AAA.TradeLanguage.Data
{
    public class TradeSymbol
    {
        //是否為當沖
        private bool _isDayTrade;

        public bool IsDayTrade
        {
            get { return _isDayTrade; }
            set { _isDayTrade = value; }
        }

        //商品類別 : 大期指, 小期指, 買權或賣權
        private SymbolTypeEnum _eSymbolType;

        public SymbolTypeEnum SymbolType
        {
            get { return _eSymbolType; }
            set { _eSymbolType = value; }
        }

        //合約類別 : 當月, 次月或季月
        private ContractTypeEnum _eContractType;

        public ContractTypeEnum ContractType
        {
            get { return _eContractType; }
            set { _eContractType = value; }
        }

        //價內, 價外或價平
        private ExecutePriceTypeEnum _eExecutePriceType;

        public ExecutePriceTypeEnum ExecutePriceType
        {
            get { return _eExecutePriceType; }
            set { _eExecutePriceType = value; }
        }

        //買或賣
        private OrderDirectionEnum _eOrderDirection;

        public OrderDirectionEnum OrderDirection
        {
            get { return _eOrderDirection; }
            set { _eOrderDirection = value; }
        }

        // 價內或價外檔次
        private int _iExecutePriceZone;

        public int ExecutePriceZone
        {
            get { return _iExecutePriceZone; }
            set { _iExecutePriceZone = value; }
        }

        //委託量
        private int _iVolume;

        public int Volume
        {
            get { return _iVolume; }
            set { _iVolume = value; }
        }

        //滑價
        private float _fSlippage;

        public float Slippage
        {
            get { return _fSlippage; }
            set { _fSlippage = value; }
        }

    }
}
